package com.zhike.common.dto;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ChatSessionMessageDTO implements Serializable {

    @ApiModelProperty(value = "最后一条消息")
    private String lastMsg;

    @ApiModelProperty(value = "最后更新时间")
    private Date lastTime;

    @ApiModelProperty(value = "消息类型")
    private String msgType;

    @ApiModelProperty(value = "目标用户头像或群头像")
    private String avatar;

    @ApiModelProperty(value = "目标用户昵称")
    private String nickname;

    @ApiModelProperty(value = "发送方")
    private String fromUid;

    @ApiModelProperty(value = "接收方")
    private String toUid;

    @ApiModelProperty(value = "聊天类型")
    private String chatType;

    @ApiModelProperty(value = "群ID")
    private String groupId;

    @ApiModelProperty(value = "会话ID")
    private String sessionId;

    @ApiModelProperty(value="指纹码")
    private String fp;

}
